package com.lm.ledger.action;

import java.util.List;

import com.lm.ledger.dao.LedgerDao;
import com.lm.ledger.service.TransactionService;
import com.lm.ledger.service.TransactionServiceImp;
import com.opensymphony.xwork2.ActionSupport;

public class PopulateAction extends TrxAction{

	TransactionService service = new TransactionServiceImp();
	
	public String getLocns() throws Exception{
		System.out.println("location ---- "+getLocId());
		setLocations(service.getLocations(getUser().getUserId()));
		return SUCCESS;
	}
public String saveDropTrx() throws Exception{
		
		setLocations(service.getLocations(getUser().getUserId()));
		return SUCCESS;
	}
}
